package com.x.ant.model;

import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseObject;

import java.util.Date;

@MappingTable(tableName = "ANT_USER")
public class User extends BaseObject {
	@MappingColumn(columnName = "USER_ID", columnPk = true, columnLength = 32)
	private String userId;
	@MappingColumn(columnName = "USER_MOBILE")
	private String userMobile;
    @MappingColumn(columnName = "USER_NAME")
    private String userName;
    @MappingColumn(columnName = "USER_SEX")
    private String userSex;
    @MappingColumn(columnName = "USER_NO")
    private String userNo;
    @MappingColumn(columnName = "USER_TYPE")
    private Integer userType;
    @MappingColumn(columnName = "USER_STATE")
    private Integer userState;
    @MappingColumn(columnName = "USER_PHOTO")
    private String userPhoto;
    @MappingColumn(columnName = "USER_CREATE_TIME")
    private Date userCreateTime;

	public User() {

	}

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserMobile() {
        return userMobile;
    }

    public void setUserMobile(String userMobile) {
        this.userMobile = userMobile;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserSex() {
        return userSex;
    }

    public void setUserSex(String userSex) {
        this.userSex = userSex;
    }

    public String getUserNo() {
        return userNo;
    }

    public void setUserNo(String userNo) {
        this.userNo = userNo;
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    public Integer getUserState() {
        return userState;
    }

    public void setUserState(Integer userState) {
        this.userState = userState;
    }

    public String getUserPhoto() {
        return userPhoto;
    }

    public void setUserPhoto(String userPhoto) {
        this.userPhoto = userPhoto;
    }

    public Date getUserCreateTime() {
        return userCreateTime;
    }

    public void setUserCreateTime(Date userCreateTime) {
        this.userCreateTime = userCreateTime;
    }
}
